//
//  main.m
//  test
//
//  Created by mac on 16-4-12.
//  Copyright (c) 2016年 Leia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Atom.h"
#import "tiaotiao.h"
#import "shizi.h"


int main(int argc, const char * argv[])
{

    @autoreleasepool {
        
        // insert code here...
        NSLog(@"Hello, World!");
        Atom *atom=[[Atom alloc] init];
        NSLog(@"Atom chemical element name:%@",atom.chemicalElement);
        tiaotiao *p = [[tiaotiao alloc] init];
        p.name = @"tiaotiao";
        
        shizi *m = [[shizi alloc] init];
        m.name = @"doubi";
        
        NSArray *arr = @[atom, p, m];
        NSLog(@"names: %@", [arr componentsJoinedByString:@","]);
        

    }
    return 0;
}

